import { get, post, del, put } from "../utils/request";
export const loadZixunCate = (page) =>
  get("/api/v1/admin/articlecategory", { page });
export const addZixunCate = (data) =>
  post("/api/v1/admin/articlecategory", data);

export const updataZixunCate = (id, data) =>
  put(`/api/v1/admin/articlecategory/${id}`, data);

export const deleteZixunCate = (id) =>
  del("/api/v1/admin/articlecategory/" + id);
